﻿<!--{inc(header.view.html)}-->


<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon" target="mainframe">字段列表</a></li>
                                                 <li><a href="index.php?app=user&act=filedadd&id={$id}"  target="mainframe">字段添加</a></li>										 
	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>表单列表</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>

<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td class="bold">字段ID</td>  
	<td width="20%" class="bold">字段名称/英文名</td>
	<td class="bold">排序</td>  
	  
	<td class="bold">操作</td>
</tr>

<?php foreach((array)$fieldconfig as $_key => $_value ) { ?>
<?php if(!empty($fieldconfig)) { ?>
<tr  onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td  align="center">
	{$_key}

	</td>
  
       
	<td  > {$_value.filed.cname}/{$_value.filed.name}</td>

        
 	<td><input type="text" maxlength="3" style="width: 40px; text-align: center;" value="{$_value.sort}" name="sort"  onchange="ato_url('index.php?app=user&act=filedlcsort&id={$id}&tbid={$_key}',this);">
</td>

   
	<td>
    

	                                            <a href="?app=user&act=filededit&id={$id}&tbid={$_key}" target="mainframe">修改字段</a>/
	                                            <a href="?app=user&act=fileddel&id={$id}&tbid={$_key}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除字段</a>/
                                    
                                              
	                                       
	</td>
</tr>
<?php } ?>
<?php } ?> 



</tbody>
</table>




                 </div>

</div>



<!--{inc(footer.view.html)}-->